package com.example.test.applicaiton.services;

import com.example.test.domain.mapper.ArticleMapper;
import com.example.test.domain.entity.ArticleModel;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


public interface ArticleService {
    List<ArticleModel> selectAll(String title, String categoryName);

    int addArticle(ArticleModel articleModel);

    int deleteArticleById(long id);

    int updateArticleById(ArticleModel articleModel);
}
